﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MongoDB.Bson;
//using System.Web.WebPages.Html;

namespace DataMongo.Entities
{
    //public class Company
    //{
    //    public ObjectId _id { get; set; }
    //    public int CompanyID { get; set; }
    //    public int UserID { get; set; }      
    //    public string CompanyName { get; set; }
    //    public string CompanyLogo { get; set; }
    //    public string CompanyLocation { get; set; }
    //    public int No_of_Staff { get; set; }
    //    public String Country { get; set; }
    //    public string ServiceTitle { get; set; }
    //    public string ServiceDesc { get; set; }
    //    public string ServiceLogo { get; set; }        
    //    public bool isActive { get; set; }
    //    public List<SelectListItem> CompanyList { get; set; }
    //}
    public class Company
    {
        public ObjectId _id { get; set; }
        public int CompanyId { get; set; }
        public string CompanyName { get; set; }
        public string CompanyEmail { get; set; } //Your email address at Company
        public bool IsVerify { get; set; }
        public string CompanyDescription { get; set; }
        public string LogoImageGuid { get; set; }
        public string LogoExt { get; set; }
        public bool IsProductService { get; set; }
        public string ProductServiceName { get; set; }
        public string ProductImageGuid { get; set; }
        public string ProductExt { get; set; }
        public string ProductServiceDescription { get; set; }
        [NotMapped]
        public List<SelectListItem> ProductServiceCategoryList { get; set; }
        //public SelectList ProductServiceCategoryList { get; set; }

    }

}